package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfo(Long id) {
        log.info("AlbumInfoDegradeFeignClient...getAlbumInfo...方法执行了");
        return Result.fail();
    }

    @Override
    public Result<AlbumStatVo> getAlbumStatVo(Long albumId) {
        log.info("AlbumInfoDegradeFeignClient...getAlbumStatVo...方法执行了");
        return Result.fail();
    }
}
